package com.test.BRBInference;

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;

public class test {


    public static void main(String[] args) throws IOException {
        File dataFile = new File("F:\\JAVA\\Project\\Java_web\\data_2.txt");
        File modelFile = new File("F:\\JAVA\\Project\\Java_web\\model_2.txt");
        ArrayList<Double> uscale = new ArrayList<Double>();
        uscale.add(-15.0);
        uscale.add(-12.0);
        uscale.add(-9.0);
        uscale.add(-6.0);
        uscale.add(-3.0);

        BRBInference BRB = new BRBInference(dataFile,modelFile,uscale);
        BRB.setChoose(false);
        BRB.setContribution_per(60.0);
        BRB.setContribution_num(3);

        BRB.Load();
        BRB.attr_identify();
        BRB.fuse();
        BRB.contr_w_beta();
        BRB.data_Handle();
        System.out.println();
    }


}
